﻿using System;

namespace Arrays
{
    class Program
    {
        static void Main(string[] args)
        {
            char[] password = new char[6];
            password[0] = '\u0000';
            password[1] = '\0';
            password[2] = (char)0;
            password[3] = '\uffff';
            //char[] username = new char[] { 'j', 'o', 'h', 'n' };
            char[] username = { 'j', 'o', 'h', 'n' };

            string[,] chessboard = new string[8, 8];

            string[,] abc = new string[,] { { "A" }, { "B" } };

            byte[, ,] rubicscube = new byte[3, 3, 3];

            int[, ,] myArray = new int[2, 5, 7];

            Console.WriteLine("Dimentions: " + myArray.Rank);
            for (int i = 0; i < myArray.Rank; i++)
            {
                Console.WriteLine(i + ": " + myArray.GetLength(i));
            }

            Console.WriteLine("total elements: " + myArray.Length);

            bool[][] freeSeats = new bool[15][];
            freeSeats[0] = new bool[100];
            freeSeats[1] = new bool[120];


            Console.ReadKey();
        }
    }
}
